package com.windgo.mapper;

import com.windgo.bean.MarketKeyword;
import com.windgo.bean.MarketKeywordExample;
import com.windgo.bean.common.CommonData;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface MarketKeywordMapper {
    List<MarketKeyword> select();
    Integer updateInfoById(Integer id,String keyword,String url,Boolean isHot,Boolean isDefault);
    //int insertKeywordInfo(Integer id, String keyword, String url, Boolean isHot, Boolean isDefault, Integer sortOrder, Date addTime,Date updateTime,Boolean deleted);
    long countByExample(MarketKeywordExample example);

    int deleteByExample(MarketKeywordExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketKeyword row);

    int insertSelective(MarketKeyword row);

    List<MarketKeyword> selectByExample(MarketKeywordExample example);

    MarketKeyword selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") MarketKeyword row, @Param("example") MarketKeywordExample example);

    int updateByExample(@Param("row") MarketKeyword row, @Param("example") MarketKeywordExample example);

    int updateByPrimaryKeySelective(MarketKeyword row);

    int updateByPrimaryKey(MarketKeyword row);
}